


// 用户item数据模型类
class UserItem {

    // 构造方法
    constructor(number, roleName, permissionDes, showIndex, createTime) {
        this.number = number;
        this.roleName = roleName;
        this.permissionDes = permissionDes;
        this.showIndex = showIndex;
        this.createTime = createTime;
        // this.number = number;
    };

    toString() {
        return "角色编号：" + this.number + "\n" + 
        "角色名称：" + this.roleName + "\n" +
        "权限字符：" + this.permissionDes + "\n" +
        "显示顺序：" + this.showIndex + "\n" + 
        "创建时间：" + this.createTime;
    }
}

// export default UserItem;